    :root {
      --primary: #ff0000; /* Hauptfarbe (anpassbar) */
      --secondary: #ffffff;
      --accent: #f5f5f5;
      --text: #333;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }
	
	h1 {
		padding: 0 0 10px 0;
	}
	
	h2 {
		padding: 0 0 10px 0;
	}
	h3 {
		padding: 0 0 10px 0;
	}

	
    body {
      background: var(--accent);
      color: var(--text);
    }

	ul {
		padding-left: 10px;
	}
	ol {
		padding-left: 10px;
	}

    /* NAVBAR */
    header {
      background: var(--secondary);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
    }
	
	.container { 
		/*max-width: 2000px;*/ 
		margin: 5px 50px; 
		background: #fff; 
		padding: 20px; 
		border-radius: 8px; 
		box-shadow: 0 0 10px rgba(0,0,0,0.1); 
		}
	
    .logo {
      color: var(--primary);
      font-size: 1.5rem;
      font-weight: bold;
    }

    .menu {
      display: flex;
      gap: 2rem;
    }

    .menu a {
      text-decoration: none;
      color: var(--text);
    }

    .menu a::after {
      content: "";
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0;
      background: var(--primary);
      transition: width 0.3s;
    }


    /* HERO */
    .hero {
      height: 80vh;
      display: flex;
      justify-content: center;
      /*align-items: center;*/
      background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/bg.jpg');
      background-size: cover;
      color: white;
      text-align: center;
      animation: fadeIn 2s ease;
	  background-repeat: no-repeat;
	  background-position: center top;
    }

    .hero h1 {
      font-size: 3rem;
    }

    .hero p {
      /*margin-top: 1rem;*/
      font-size: 1.2rem;
    }

    /* SECTION */
    section {
      padding: 4rem 2rem;
      text-align: center;
    }
	
	.section {
		padding: 5px;
	}

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .card {
      background: white;
      padding: 2rem;
      border-radius: 15px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

    .card button {
      margin-top: 1rem;
      padding: 0.7rem;
      border: none;
      background: var(--primary);
      color: white;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .card button:hover {
      background: #b71c1c;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 30px rgba(0,0,0,0.15);
    }

    /* MODAL */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 3000;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: white;
      padding: 2rem;
      border-radius: 15px;
      max-width: 800px;
      width: 90%;
	  max-height: 80vh;
      overflow-y: auto;
      text-align: left;
      animation: fadeIn 0.3s ease;
    }

    .modal-content img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 1rem;
    }
	
	.modal button {
	  width: 100%;
      margin-top: 1rem;
      padding: 0.7rem;
      border: none;
      background: var(--primary);
      color: white;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .modal button:hover {
      background: #b71c1c;
    }

    .close {
      float: right;
      cursor: pointer;
      font-size: 1.5rem;
    }

    /* FOOTER */
    footer {
      background: var(--primary);
      color: white;
      padding: 2rem;
      text-align: center;
    }
	
	footer a {
		color: #ffffff;
        padding: 0 5px;
	}
	footer a:hover {
		color: #aaaaaa;
	}

    /* ANIMATION */
    @keyframes fadeIn {
      from {opacity: 0; transform: translateY(20px);} 
      to {opacity: 1; transform: translateY(0);} 
    }

    /* MOBILE MENU */
    .burger {
      display: none;
      cursor: pointer;
    }

    .burger div {
      width: 25px;
      height: 3px;
      background: var(--primary);
      margin: 5px;
      transition: all 0.3s;
    }
	
	.aboutme-wrapper{
      max-width:1000px;
      margin:auto;
      background:white;
      padding:40px;
      border-radius:18px;
      box-shadow:0 5px 20px rgba(0,0,0,0.08);
    }

    .aboutme-top-section{
      display:flex;
      gap:30px;
      align-items:flex-start;
      margin-bottom:40px;
    }

    .aboutme-top-section img{
      width:320px;
      border-radius:14px;
      object-fit:cover;
    }

    .aboutme-bottom-section{
      display:flex;
      gap:30px;
      align-items:flex-start;
      margin-top:30px;
    }

    .aboutme-bottom-section img{
      width:260px;
      border-radius:14px;
      object-fit:cover;
    }

    .aboutme-quote{
      background:#ff000026;
      padding:18px;
      border-left:5px solid #f00;
      border-radius:10px;
      margin:25px 0;
      font-weight:bold;
    }

    .aboutme-footer{
      margin-top:35px;
      font-weight:bold;
      font-size:20px;
    }
	
	
	
	
	
	
	.main-menu ul {
	 list-style: none;
	 margin: 0;
	 padding: 0;
	 overflow: hidden; /* Stellt sicher, dass die Kind-Elemente im Fluss bleiben */
   }

   .main-menu > ul > li {
	 float: left; /* Ordnet die Menüpunkte horizontal an */
   }

   .main-menu ul li a {
	 display: block;
	 color: #f00;
	 text-align: center;
	 padding: 14px 16px;
	 text-decoration: none;
	 border-radius: 20px;
   }

   .main-menu ul li a:hover {
	 background-color: #ff000026;
   }

   /* Dropdown-Styling */
   .submenu {
	 display: none;  /*Das Untermenü standardmäßig ausblenden */
	 position: absolute;
	 min-width: 160px;
	 box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	 background: white;
	 z-index: 1;
   }

   .submenu li a {
				   color: black;
   }

   /* Zeigt das Dropdown-Menü an, wenn man über das Elternelement fährt */
   .dropdown:hover .submenu {
	 display: block;
   }


    @media (max-width: 1300px) {
      .menu {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        background: white;
        flex-direction: column;
        width: 250px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 2rem 1rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
      }

      .menu.active {
        transform: translateX(0);
      }

      .burger {
        display: block;
      }
	  
	  .aboutme-top-section,
      .aboutme-bottom-section{
        flex-direction:column;
      }

      .aboutme-top-section img,
      .aboutme-bottom-section img{
        width:100%;
      }
	  
	  .aboutme-bottom-section img{
		order:2;
		margin-top:20px;
	  }

	  .aboutme-bottom-section div{
		order:1;
	  }

      .menu.active {
        transform: translateX(0);
      }
	  
	  
	  


    .submenu{
        display:block;
        position:static;
        width:100%;
        padding-left:20px;
		box-shadow: inset 0px 0px 10px #00000060;
    }
	
	.submenu li a{
        font-size:0.95rem;
        padding-left:20px;
    }

    .dropdown.active .submenu{
        display:block;
    }
	
	.main-menu ul {
	 overflow: auto; /* Stellt sicher, dass die Kind-Elemente im Fluss bleiben */
   }
	  
    }
	
	/* Editor */
	
	form { margin-bottom: 30px; padding: 20px; border: 1px solid #ddd; border-radius: 5px; background-color: #f9f9f9; }
        form label { display: block; margin-bottom: 8px; font-weight: bold; }
        form input[type="text"],
		form input[type="password"],
        form input[type="url"],
        form textarea {
            width: calc(100% - 22px);
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        form input[type="file"] {
            margin-bottom: 15px;
        }
        form button {
            background-color: #ff0000;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        form button:hover { background-color: #aa0000; }
        .entry {
            background-color: #e9ecef;
            border: 1px solid #dee2e6;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 5px;
            display: flex;
            align-items: flex-start; /* Angepasst für Bild neben Text */
            gap: 15px; /* Abstand zwischen Bild und Text */
        }
        .entry-details { flex-grow: 1; }
        .entry-details h3 { margin-top: 0; margin-bottom: 5px; color: #333; }
        .entry-actions { margin-left: 20px; display: flex; flex-direction: column; gap: 5px;} /* Aktionen untereinander */
        .entry-actions a {
            display: inline-block;
            padding: 8px 12px;
            text-decoration: none;
            border-radius: 4px;
            color: white;
            text-align: center;
        }
        .edit-btn { background-color: #28a745; }
        .edit-btn:hover { background-color: #218838; }
        .delete-btn { background-color: #dc3545; }
        .delete-btn:hover { background-color: #c82333; }
        .message { padding: 10px; margin-bottom: 20px; border-radius: 4px; }
        .message p { margin: 0; }
        .message p[style*='green'] { background-color: #d4edda; border-color: #c3e6cb; color: #155724; }
        .message p[style*='red'] { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; }
        .entry-image {
            max-width: 150px;
            max-height: 150px;
            width: auto;
            height: auto;
            border: 1px solid #ccc;
            padding: 5px;
            background-color: #fff;
            object-fit: contain; /* Bildgröße anpassen, ohne zu verzerren */
        }
        /* Style für das Bild im Edit-Formular */
        #current_image_preview {
            max-width: 200px;
            max-height: 200px;
            display: block;
            margin-top: 10px;
            border: 1px solid #ccc;
            padding: 5px;
            background-color: #fff;
            object-fit: contain;
        }